﻿namespace Leo.Common.DataAnnotations
{
    [AttributeUsage(AttributeTargets.Enum | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = true)]
    public class FieldDescriptionAttribute : Attribute
    {
        public FieldDescriptionAttribute(string description) : this(description, "default")
        {
        }

        public FieldDescriptionAttribute(string description, string scene)
        {
            this.Description = description;
            this.Scene = scene;
        }

        public string Description { get; private set; }

        public string Scene { get; private set; }
    }
}
